use ::libc;
extern "C" {
    fn ntohl(__netlong: uint32_t) -> uint32_t;
}
pub type __uint32_t = libc::c_uint;
pub type __uint64_t = libc::c_ulong;
pub type uint32_t = __uint32_t;
pub type uint64_t = __uint64_t;
#[no_mangle]
pub unsafe extern "C" fn ntohll(mut v: uint64_t) -> uint64_t {
    let mut b: uint32_t = 0;
    let mut t: uint32_t = 0;
    b = ntohl((v & 0xffffffff as libc::c_uint as libc::c_ulong) as uint32_t);
    t = ntohl((v >> 32 as libc::c_int) as uint32_t);
    return (b as uint64_t) << 32 as libc::c_int | t as libc::c_ulong;
}
